public class Animal {
	protected String name;
	protected int age;
	
	public Animal(String n,int a){
		this.name = n;
		this.age = a;
	}
	
	public String getName(){
		return this.name;
	}
	
	public int getAge(){
		return this.age;
	}
	
	public void setAge(int a){
		this.age = a;
	}
	
	public String toString(){
		String res = ("Name: " + this.name + "Age: " + this.age);
		return res;
	}
	
	
}
